package com.core.family.biz.yizhao.domain.po;

import com.core.family.biz.yizhao.domain.dto.YzOrderDto;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @author honglei
 * @version 1.0
 * @time: 2023-7-13 9:59:33
 * @Description PO对象 一招接单表
 */
@Accessors(chain = true)
@Data
@TableName(value = "yz_order_take")
public class YzOrderTake implements Serializable {


        /*
        *  关联mongo订单
        */

        @TableField(value = "detail_id")
        private String detailId;

        /*
        *
        */
        @TableField(value = "id")
        private Integer id;

        /*
        *  订单id
        */

        @TableField(value = "order_id")
        private Integer orderId;

        /*
        *  报价id
        */
        @TableField(value = "order_price_id")
        private Integer orderPriceId;

        /*
        *
        */

        @TableField(value = "order_take_name")
        private String orderTakeName;

        /*
        *
        */

        @TableField(value = "order_take_phone")
        private String orderTakePhone;

        /*
        *
        */

        @TableField(value = "order_take_rolename")
        private String orderTakeRolename;

        /*
        *  接单状态
        */

        @TableField(value = "status")
        private String status;

        /*
        *
        */
        @TableField(value = "user_id")
        private Integer userId;

        @TableField(exist = false)
        private YzOrderPrice orderPrice;

        @TableField(exist = false)
        private YzOrderDto yzOrderDto;

}
